// 处理头条的检测链接
package toutiao

import (
	"fmt"
	"httpadmin/go-attribute/service/notice"
	"httpadmin/go-attribute/service/notice/data"
)

type HandlerDto struct {
	notice.HandlerDto
}

func (n *HandlerDto) SaveAttributeMark(device data.IDevice) error {
	marks := device.GetDeviceMarks()
	// todo redis pipeline save all (key shard)
	fmt.Println("头条保存数据")
	fmt.Println(marks)
	return nil
}
